<div class="set">
    <%= link_to (image_tag (set.primaryPhotoUrl, :border => "0", :alt=>set.title, :class=>"thumb", 
        :title=>set.title)), 
        :action => 'list' ,
        :id => set.id %>
    <br/>
    <%=set.title%><br/><span class='setNoOfphotos'>( <%=set.photo_count%> photos )</span>
</div>